<img
  *ngIf="url | getIcon as icon; else noIcon"
  [style.max-width]="size || '100%'"
  [src]="icon"
  alt=""
/>
<ng-template #noIcon>
  <ion-icon name="storefront-outline" [style.font-size]="size"></ion-icon>
</ng-template>
